<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<s:property value="#application.website.keywords"/>" />
<meta name="description" content="<s:property value="#application.website.description"/>" />
<title><s:property value="#application.website.websiteName"/></title>
<link href="css/css.css"  type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="js/Iad.js"></script>

</head>

<body>
 <div id="container">
   <div id="Header">
     <jsp:include page="header.jsp"></jsp:include>
   </div>
   <div id="PageBody">
     <div class="mina">
       <div class="newslist Mleft">
         <div class="about">
         <p>
           <a href="singlePage?columnId=1&singlePage.id=<s:property value="singlePageList[0].id"/>"><s:property value="@com.linkcard.commen.tools.Helper@deleteHtml(singlePageList[0].content,90,'...')"/></a>
         </p>
         </div>
         <div class="news">
           <div class="ntitle"><span>>>&nbsp;<a href="news.action?columnId=4">更多</a></span><font>最新动态</font></div>
           <ul>
           <s:iterator value="newsList" id="id">
              <li><span>&nbsp;</span><a href="news!newsDetial.action?news.id=<s:property value="#id[0].id"/>"><s:property value="@com.linkcard.commen.tools.Helper@deleteHtml(#id[0].title, 30, '...')"/></a></li>
           </s:iterator>
           </ul>
         </div>
       </div>
       <div class="Mad"><div class="container" id="idTransformView2">
              <ul class="slider slider2" id="idSlider2">
               <s:iterator value="adList">
                   <li><a href="<s:property value="url"/>" target="_blank"><img src="<s:property value="image"/>" alt="<s:property value="title"/>" border="0" /></a></li>
               </s:iterator>
			  </ul>
		      <ul class="num" id="idNum2">
		      <s:iterator value="adList" status="status">
                <li><s:property value="%{#status.index+1}"/></li>
              </s:iterator>
	          </ul>
	        </div></div>
     </div>
     <div class="mina">
       <div class="activity">
         <div class="activity01">
           <div class="title"><img src="images/index_38.gif" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="489,18,537,33" href="activities.action?columnId=7" /></map></div>
           <div class="box">
            <s:iterator value="activitiesList" id="id">
               <div class="showbox">
	               <div class="imgbox"><a href="activities!activitiesDetial.action?activities.id=<s:property value="#id[0].id"/>"><img src="<s:property value="#id[0].image"/>" /></a></div>
	               <div class="boxcont">
	               <p><span></span><a href="activities!activitiesDetial.action?activities.id=<s:property value="#id[0].id"/>"><s:property value="#id[0].title"/></a></p>
	               <s:property value="@com.linkcard.commen.tools.Helper@deleteHtml(#id[0].description, 80, '..')"/>
	               </div>
               </div>
            </s:iterator>
           </div>
         </div>
       </div>
       <div class="newslist Mright">
         <div class="recommend">
           <div class="ntitle"><span>>>&nbsp;<a href="business.action?columnId=2">更多</a></span><font>推荐商家</font></div>
           <ul>
             <s:iterator value="businessList" >
               <li><span class="more"><s:property value="datetime.substring(0,10)"/></span><span class="biao">&nbsp;</span><a  href="business!businessDetial.action?business.id=<s:property value="id"/>"><s:property value="@com.linkcard.commen.tools.Helper@deleteHtml(name, 30, '...')"/></a></li>
             </s:iterator>
           </ul>
           <div class="adimg"><img src="images/index_60.gif"  /></div>
         </div>
         <div class="joinin">
           <div class="ntitle">加盟方式</div>
           <p><s:property value="@com.linkcard.commen.tools.Helper@deleteHtml(singlePageList[1].content,90,'...')"/></p>
<span><a href="singlePage?columnId=10&singlePage.id=10"><img src="images/index_74.gif" width="91" height="19" /></a></span>
         </div>
       </div>
     </div>
   </div>
   <div id="Footer">
     <jsp:include page="bottom.jsp"></jsp:include>
   </div>
 </div>
</body>
</html>

